icon view: Document some style properties as deprecated
authorMatthias Clasen <mclasen@redhat.com>
Mon, 16 Nov 2015 11:13:31 +0000 (06:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 16 Nov 2015 12:20:18 +0000 (07:20 -0500)
No code change.

gtk/gtkiconview.c

index 797b2e1e882381d74cf601649fd028a9d3c48533..019ab0ec2878bb170d482fcd2663061914ca1543 100644 (file)
@@ -674,6 +674,14 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
   g_object_class_override_property (gobject_class, PROP_VSCROLL_POLICY, "vscroll-policy");
 
   /* Style properties */
+  /**
+   * GtkIconView:selection-box-color:
+   *
+   * The color of the selection box.
+   *
+   * Deprecated: 3.20: The color of the selection box is determined by CSS;
+   *     the value of this style property is ignored.
+   */
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_boxed ("selection-box-color",
                                                                P_("Selection Box Color"),
@@ -681,6 +689,15 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
                                                                g_type_from_name ("GdkColor"),
                                                                GTK_PARAM_READABLE));
 
+
+  /**
+   * GtkIconView:selection-box-alpha:
+   *
+   * The opacity of the selection box.
+   *
+   * Deprecated: 3.20: The opacity of the selection box is determined by CSS;
+   *     the value of this style property is ignored.
+   */
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_uchar ("selection-box-alpha",
                                                                P_("Selection Box Alpha"),